<?php
	$folder = $_POST['new_type'];
	if(!mkdir("../data/$folder")){
		die("<script>alert(\"An error has occured.  Please contact your Administrator.\");</script>");
	}
?>